package org.com.ashen.service.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration 
public class JdbcConfig {
	@Value("${db_ip}")  
    public  String dbUrl; //这里变量不能定义成static  
	 
    @Value("${db_port}")
    public String dbPort;
    
    @Value("${db_user}")  
    public  String dbUser;    
      
    @Value("${db_pass}")  
    public  String dbPass; 
    
    @Value("${db_name}")
    public String dbName;
   
}
